package com.yc.jpyy.drivertrain.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.dao.BaseDao;

public interface DriverTrainDao extends BaseDao {

	

	int addDriverTrainDao(Map<String, Object> paramsMap) throws DataAccessException;

	int updateDriverTrainDao(Map<String, Object> paramsMap) throws DataAccessException;

	int delDriverTrainDao(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findDriverTrainByID(Map<String, Object> paramsMap) throws DataAccessException;
	
	 //分页查询
	List<Map<String, Object>> findDriverTrainDao(Map<String, Object> paramsMap)throws DataAccessException;
	  
	  //查询总数
	int findDriverTrainDaoCount(Map<String, Object> paramsMap)throws DataAccessException;
	
	int delforUpdateDriverTrainDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	int UpdateStudentBaseInfo(Map<String, Object> paramsMap) throws DataAccessException;
	
    int addTrainToDriver(Map<String, Object> paramsMap)throws DataAccessException;

    
    
}
